package com.basic.shiro.services;

import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authz.annotation.RequiresRoles;
import org.apache.shiro.session.Session;

import javax.security.auth.Subject;
import java.util.Date;

public class ShiroService {
@RequiresRoles({"admin"})
/*
* RequiresAuthentication
* RequiresUser
* RequiresGuest
* RequiresRoles
* RequiresPermissions
* */
    public void   testMethod () {

        System.out.printf("testMethod"+new Date());

    }
}
